<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
    <meta charset="utf-8"/>
    <base href="<%=basePath%>">
    <title>基本信息</title>
    <meta name="viewport" content="width=1000"/>
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/moban.css"/>
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/common/reset.css"/>
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/common/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/common/common.css"/>
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/ji_bxx.css"/>
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/common/xm.css"/>
</head>
<body>
<jsp:include page="../top.jsp"></jsp:include>
<div class="wrap">
                  
    <!--头部部分-->
    <div class="cus_navigation">
        <div class="nav_con">
            <p>
                <a href="">首页</a> >
                <a href="">我的不二定制</a> >
                <a href="">我的账户</a> >
                <a href="">基本信息</a>
            </p>
        </div>
    </div>
<div class="cus_content">
        <div class="xian">

        </div>
        <jsp:include page="../dingdan.jsp"></jsp:include>
        <!--右边代码块，注意大类的命名-->
        <div class="cus_content_right fl clearfix">
            <!--基本信息-->
            <form action="userinfo.do?type=queryid" enctype="multipart/form-data" method="post">
            <div class="content-jibxx">
                <h2 class="jibxx_title">基本信息</h2>
                <div class="content_content">
                    <div class="jibxx_head clearfix common_css">
                        <span>用户头像</span>
                        <div class="jibxx_headleft">
                            <div class="touxiang">
                            	<c:if test="${empty sessionScope.user.user_pic }">
                            	  <img src="images/moban/head.png">
                            	</c:if>
                              	<c:if test="${!empty sessionScope.user.user_pic }">
                            	  <img src="<%=basePath %>UserInfo/images/${sessionScope.user.user_pic }">
                            	</c:if>
                            </div>
                            <input type="file" class="jibxx_headleft_img" name="user_pic">
                        </div>
                    </div>
                    <div class="jibxx_imggeshi common_css">
                        <a>支持JPG，JPEG，GIF，PNG，BMP，且小于5M</a>
                    </div>
                    <div class="jibxx_hr common_css">
                        <hr align="left">
                    </div>
                    <div class="jibxx_denglu common_css">
                        <a>登录账号</a><span>${sessionScope.user.user_login }</span>
                    </div>
                    <div class="jibxx_nicheng common_css">
                         <p style="float:left;">昵称:</p>
                         <span style="margin-left: 15px;">${sessionScope.user.user_name }</span>
                        
                    </div>
                    <div class="select_row">
                        <a style="float: left;margin-left: -30px;font-size: 13px;   ">性别：</a><span style="float:left;text-align: center;">
                        <c:if test="${!empty sessionScope.user.user_sex }">
                        	${sessionScope.user.user_sex }
                        </c:if>
                        </span>
                        <div class="clear"></div>
                    </div>
                    <div class="jibxx_xingbie common_css">
                        <a style="width: 60px;float:left;">生日:</a>
                        <span><c:if test="${!empty sessionScope.user.user_birthday }">
                        	${sessionScope.user.user_birthday }
                        </c:if></span>
                        <div class="clear"></div>
                    </div>
                    <div class="jibxx_xingbie common_css">
                        <a style="width: 60px;float:left;">所在地区:</a>
                        <sapn style="argin-left: 15px;"><c:if test="${!empty sessionScope.user.user_address }">
                        	${sessionScope.user.user_address }
                        </c:if></sapn>
                        <div class="clear"></div>                     
	                </div>
                    <div class="jibxx_xingbie common_css ">
                        <a>所在行业</a>
                        <span>${sessionScope.user.user_industry }</span>
                        <div class="clear "></div>
                    </div>
                    <div class="jibxx_hr common_css ">
                        <hr align="left ">
                    </div>
                    <input type="submit" id="baocun " class=" input_btn_shi btn_158 common_css " value="修改">
                    <div class="clear "></div>
                </div>
			</form>
            </div>
        </div>
    </div>
   <div class="clear "></div>
</div>
<jsp:include page="../footer.jsp"></jsp:include>
<script src="<%=basePath%>js/common/jquery.js " type="text/javascript " charset="utf-8"></script>
<script src="<%=basePath%>js/common/xm.js " type="text/javascript " charset="utf-8"></script>
<script src="<%=basePath%>js/ji_bxx.js " type="text/javascript " charset="utf-8"></script>
<script src="<%=basePath%>js/common/proJson.js " type="text/javascript " charset="utf-8"></script>
<script src="<%=basePath%>js/common/CityJson.js " type="text/javascript " charset="utf-8"></script>
<script src="<%=basePath%>js/common/DistrictJson.js " type="text/javascript " charset="utf-8"></script>
<script src="<%=basePath%>js/common/trade.js " type="text/javascript " charset="utf-8"></script>
</body>

</html>